package com.aaa.sso.feign;

import com.aaa.entity.LoginInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 登录日志的feign代理
 */
@FeignClient(value = "his-open-system")
public interface LoginInfoFeign {

    /**
     * 添加登录日志的方法
     * @param loginInfo 登录日志信息
     */
    @PostMapping("/system/login-info/addLoginInfo")
    public void addLoginInfo(@RequestBody LoginInfo loginInfo);
}
